package main.niit.pojo;

public class AdProvinceTop3 {
    private String date;
    private String province;
    private Long adId;
    private Long clickCount;

    // 默认构造函数
    public AdProvinceTop3() {
    }

    // 带参数的构造函数
    public AdProvinceTop3(String date, String province, Long adId, Long clickCount) {
        this.date = date;
        this.province = province;
        this.adId = adId;
        this.clickCount = clickCount;
    }

    // Getter和Setter方法
    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public Long getAdId() {
        return adId;
    }

    public void setAdId(Long adId) {
        this.adId = adId;
    }

    public Long getClickCount() {
        return clickCount;
    }

    public void setClickCount(Long clickCount) {
        this.clickCount = clickCount;
    }

    // 重写toString方法，方便打印对象信息
    @Override
    public String toString() {
        return "AdProvinceTop3{" +
                "date='" + date + '\'' +
                ", province='" + province + '\'' +
                ", adId=" + adId +
                ", clickCount=" + clickCount +
                '}';
    }
}//统计每天各省 top3 热门广告
